﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="addNewRestaurant.aspx.vb" Inherits="WebApplication3.addNewRestaurant" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        Name<asp:TextBox ID="tb_RName" runat="server"></asp:TextBox>
    </p>
    <p>
        Address<asp:TextBox ID="tb_RAddress" runat="server"></asp:TextBox>
    </p>
    <p>
        Website<asp:TextBox ID="tb_RWebsite" runat="server"></asp:TextBox>
    </p>
    <p>
        Tel<asp:TextBox ID="tb_RTel" runat="server"></asp:TextBox>
    </p>
    <p>
        Picture<asp:FileUpload ID="fup_RPicture" runat="server" />
    </p>
    <p>
        Average Price<asp:RangeValidator ID="RangeValidator1" runat="server" 
            ControlToValidate="tb_AveragePrice" ErrorMessage="RangeValidator" 
            MaximumValue="200" MinimumValue="3" Type="Integer"></asp:RangeValidator>
        <asp:TextBox ID="tb_AveragePrice" runat="server"></asp:TextBox>
    </p>
    <p>
        Michelin Stars 
        <asp:RadioButtonList ID="rbl_MichelinStars" runat="server" 
            RepeatDirection="Horizontal">
            <asp:ListItem>1</asp:ListItem>
            <asp:ListItem>2</asp:ListItem>
            <asp:ListItem>3</asp:ListItem>
            <asp:ListItem>4</asp:ListItem>
            <asp:ListItem>5</asp:ListItem>
        </asp:RadioButtonList>
    </p>
    <p>
        <asp:Button ID="btn_Submit" runat="server" Text="Add New Restaurant" 
            Width="172px" />
    </p>
    <p>
        &nbsp;</p>
</asp:Content>
